package com.tedu.springdemo.day03;

public class Trail {
    private Pig p;

    public Pig getP() {
        return p;
    }

    public void setP(Pig p) {
        this.p = p;
    }

    @Override
    public String toString() {
        return "Trail{" +
                "p=" + p +
                '}';
    }
}
